package model;

import com.jfinal.plugin.activerecord.Model;

/**
 * Created by BaiYunfei on 2017/6/14.
 */
public class Student extends Model<Student> {

    public static final Student dao = new Student();
    
    public Student findByUserId(Long userId){
    	return findFirst("SELECT * FROM Student WHERE [ID]=?",userId);
    }

}
